<template>
  <div class="Wokoo" >
<!--    <header class="Wokoo-header">-->
<!--      <Button >open</Button>-->
<!--      <sell-list @close = "handleClose"/>-->

<!--    </header>-->
    <Button type="primary" @click="handleClose">查询</Button>
    <Modal
            v-model:visible="show"
            title="信息列表"
            @ok="handleClose"
            width="60%"
            wrapClassName="full-modal"
    >
      <sell-list />
    </Modal>
  </div>

</template>
<script>
import './app.less'
import logo from '../public/icon.jpg'
import { DatePicker , Button ,Modal} from "ant-design-vue";
import SellList from "./SellList.vue";

export default {
  components:{
    SellList,Modal,
    DatePicker,Button
  },
  data: function() {
    return {
      logo,
      show: false
    }
  },
  methods: {
    handleClose() {
      this.show = !this.show
    }
  }
}
</script>
<style scoped>
</style>
